package com.exam.model;


public class PaperModel {
	
	private Integer id;
	private String paperName;
	private String summary; 
	private String ctime;     //创建时间
	private Integer testTime;   //考试时间 分钟
	private Integer status;     //试卷状态 1 考试中 0已结束
	private Integer dbid;
	private Integer questionNum; 		//试题数量
	private Integer totalScore; //总分
	private Integer type;
	
	//剩余考试时间
	private int lastTestTime;
	private String realAnswer; //保存试题答案选项
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getPaperName() {
		return paperName;
	}
	public void setPaperName(String paperName) {
		this.paperName = paperName;
	}
	public String getSummary() {
		return summary;
	}
	public void setSummary(String summary) {
		this.summary = summary;
	}
	public String getCtime() {
		return ctime;
	}
	public void setCtime(String ctime) {
		this.ctime = ctime;
	}
	public Integer getTestTime() {
		return testTime;
	}
	public void setTestTime(Integer testTime) {
		this.testTime = testTime;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getDbid() {
		return dbid;
	}
	public void setDbid(Integer dbid) {
		this.dbid = dbid;
	}
	public Integer getQuestionNum() {
		return questionNum;
	}
	public void setQuestionNum(Integer questionNum) {
		this.questionNum = questionNum;
	}
	public Integer getTotalScore() {
		return totalScore;
	}
	public void setTotalScore(Integer totalScore) {
		this.totalScore = totalScore;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public int getLastTestTime() {
		return lastTestTime;
	}
	public void setLastTestTime(int lastTestTime) {
		this.lastTestTime = lastTestTime;
	}
	public String getRealAnswer() {
		return realAnswer;
	}
	public void setRealAnswer(String realAnswer) {
		this.realAnswer = realAnswer;
	}
	@Override
	public String toString() {
		return "PaperModel [id=" + id + ", paperName=" + paperName
				+ ", summary=" + summary + ", ctime=" + ctime + ", testTime="
				+ testTime + ", status=" + status + ", dbid=" + dbid
				+ ", questionNum=" + questionNum + ", totalScore=" + totalScore
				+ ", type=" + type + ", lastTestTime=" + lastTestTime
				+ ", realAnswer=" + realAnswer + "]";
	}
	public PaperModel(Integer id, String paperName, String summary,
			String ctime, Integer testTime, Integer status, Integer dbid,
			Integer questionNum, Integer totalScore, Integer type,
			int lastTestTime, String realAnswer) {
		super();
		this.id = id;
		this.paperName = paperName;
		this.summary = summary;
		this.ctime = ctime;
		this.testTime = testTime;
		this.status = status;
		this.dbid = dbid;
		this.questionNum = questionNum;
		this.totalScore = totalScore;
		this.type = type;
		this.lastTestTime = lastTestTime;
		this.realAnswer = realAnswer;
	}
	public PaperModel() {
		super();
	}

}
